source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'
use_frameworks!

# 1. 找到flutter module 的目录
flutter_application_path = '../flutter_module'
# 2. 找到flutter module 的目录中的/.ios/Flutter/podhelper.rb文件
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')

target 'EngineTestIOS' do
  use_frameworks!
  # 3. 执行podhelper.rb中的install_all_flutter_pods方法
  install_all_flutter_pods(flutter_application_path)
  # 其他的pod库
  pod 'SnapKit'
end

post_install do |installer|
  flutter_post_install(installer) if defined?(flutter_post_install)
end
